import request from '@/app/request'

// 获取用户列表
export function getUserList() {
  return request({
    url: '/user/getUsers',
    method: 'post',
    data: {
      page: 1,
      size: 10,
    },
    options: {
      loadingText: '正在获取数据',
      successText: '获取成功',
      errorText: '获取失败',
    },
  })
}
